/*
 * $Id$
 *
 * Copyright (C) 2002-2005 Andreas Oberritter <obi@saftware.de>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License version 2.1 as published by the Free Software Foundation.
 *
 * See the file 'COPYING' in the top level directory for details.
 */

#ifndef __short_event_descriptor_h__
#define __short_event_descriptor_h__

#include "descriptor.h"

class ShortEventDescriptor : public Descriptor
{
	protected:
		std::string iso639LanguageCode;
		unsigned eventNameLength			: 8;
		std::string eventName;
		unsigned textLength				: 8;
		std::string text;

	public:
		ShortEventDescriptor(const uint8_t * const buffer);

		const std::string &getIso639LanguageCode(void) const;
		const std::string &getEventName(void) const;
		const std::string &getText(void) const;
};

#endif /* __short_event_descriptor_h__ */
